package org.jeecg.modules.basic.warehouseGroup.service;

import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroupUser;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroupWarehouse;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 仓库组
 * @Author: jeecg-boot
 * @Date:   2023-08-02
 * @Version: V1.0
 */
public interface IWmsBasicWarehouseGroupService extends IService<WmsBasicWarehouseGroup> {

	/**
	 * 添加一对多
	 *
	 * @param wmsBasicWarehouseGroup
	 * @param wmsBasicWarehouseGroupUserList
	 * @param wmsBasicWarehouseGroupWarehouseList
	 */
	public void saveMain(WmsBasicWarehouseGroup wmsBasicWarehouseGroup,List<WmsBasicWarehouseGroupUser> wmsBasicWarehouseGroupUserList,List<WmsBasicWarehouseGroupWarehouse> wmsBasicWarehouseGroupWarehouseList) ;
	
	/**
	 * 修改一对多
	 *
   * @param wmsBasicWarehouseGroup
   * @param wmsBasicWarehouseGroupUserList
   * @param wmsBasicWarehouseGroupWarehouseList
	 */
	public void updateMain(WmsBasicWarehouseGroup wmsBasicWarehouseGroup,List<WmsBasicWarehouseGroupUser> wmsBasicWarehouseGroupUserList,List<WmsBasicWarehouseGroupWarehouse> wmsBasicWarehouseGroupWarehouseList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	public List<String> getManageWarehouseId(String userId);
	
}
